package com.ruoyi.system.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class DetailedArticle {

    //博客信息
    private Long id;

    private Long userid;
    private Long tagId;
    private Long typeId;
    private String firstPicture;

    private String flag;

    private String title;

    private String content;

    private Integer views;

    private Integer commentCount;
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

    private boolean commentabled;

    private boolean shareStatement;
    private String description;
    private boolean appreciation;

    private String username;

    //分类名称
    private String typeName;

}
